﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataTest.aspx.cs" Inherits="Microsoft.Live.ServerControls.Web.DataTest" %>

<%@ Register Assembly="Microsoft.Live.ServerControls.VE" Namespace="Microsoft.Live.ServerControls.VE"
    TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
    function testfunction(e) {
        alert(e);
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>    
    <div>
        <cc1:Map ID="Map1" runat="server" Height="400px" Width="400px" ZoomLevel="4" SendLayersToServer="True">
        </cc1:Map>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel runat="server">
                Existing shape layer<br />
                <asp:Button ID="ButtonAdd" runat="server" Text="Add" 
                    onclick="ButtonAdd_Click" />
                <asp:Button ID="ButtonDelete" runat="server" Text="Delete" 
                    onclick="ButtonDelete_Click" />
                <asp:Button ID="ButtonHide" runat="server" Text="Hide" 
                    onclick="ButtonHide_Click" />
                <asp:Button ID="ButtonShow" runat="server" Text="Show" 
                    onclick="ButtonShow_Click" />
                <asp:Button ID="ButtonModify" runat="server" Text="Modify" 
                    onclick="ButtonModify_Click" />
            </asp:Panel> 
            <asp:Panel ID="Panel1" runat="server">
                New shape layer<br />
                <asp:Button ID="ButtonNewShapeAdd" runat="server" Text="Add" 
                    onclick="ButtonNewShapeAdd_Click" />
                <asp:Button ID="ButtonNewShapeDelete" runat="server" Text="Delete" 
                    onclick="ButtonNewShapeDelete_Click" />
                <asp:Button ID="ButtonNewShapeHide" runat="server" Text="Hide" 
                    onclick="ButtonNewShapeHide_Click" />
                <asp:Button ID="ButtonNewShapeShow" runat="server" Text="Show" 
                    onclick="ButtonNewShapeShow_Click" />
                <asp:Button ID="ButtonNewShapeModify" runat="server" Text="Modify" 
                    onclick="ButtonNewShapeModify_Click" />
            </asp:Panel> 
            <asp:Panel ID="Panel2" runat="server">
                Base shape layer<br />
                <asp:Button ID="ButtonBaseShapeAdd" runat="server" Text="Add" 
                    onclick="ButtonBaseShapeAdd_Click" />
                <asp:Button ID="ButtonBaseShapeDelete" runat="server" Text="Delete" 
                    onclick="ButtonBaseShapeDelete_Click" />
                <asp:Button ID="ButtonBaseShapeHide" runat="server" Text="Hide" 
                    onclick="ButtonBaseShapeHide_Click" />
                <asp:Button ID="ButtonBaseShapeShow" runat="server" Text="Show" 
                    onclick="ButtonBaseShapeShow_Click" />
                <asp:Button ID="ButtonBaseShapeModify" runat="server" Text="Modify" 
                    onclick="ButtonBaseShapeModify_Click" />
            </asp:Panel>
            <asp:Panel ID="Panel3" runat="server">
                Tile layer<br />
                <asp:Button ID="ButtonTileAdd" runat="server" Text="Add" 
                    onclick="ButtonTileAdd_Click" />
                <asp:Button ID="ButtonTileDelete" runat="server" Text="Delete" 
                    onclick="ButtonTileDelete_Click" />
                <asp:Button ID="ButtonTileHide" runat="server" Text="Hide" 
                    onclick="ButtonTileHide_Click" />
                <asp:Button ID="ButtonTileShow" runat="server" Text="Show" 
                    onclick="ButtonTileShow_Click" />
                <asp:Button ID="ButtonTileModify" runat="server" Text="Modify" 
                    onclick="ButtonTileModify_Click" />
            </asp:Panel>    
            <asp:Panel ID="Panel4" runat="server">
                Import layers<br />
                <asp:Button ID="ButtonImportGeoRSS" runat="server" Text="GeoRSS" 
                    onclick="ButtonImportGeoRSS_Click" />
                <asp:Button ID="ButtonImportKML" runat="server" Text="KML" 
                    onclick="ButtonImportKML_Click" />
                <asp:Button ID="ButtonImportLivedotcom" runat="server" Text="Live.com" 
                    onclick="ButtonImportLivedotcom_Click" />
            </asp:Panel>                                                               
        </ContentTemplate>
        </asp:UpdatePanel>
        <asp:Button ID="ButtonPostback" runat="server" Text="LFullPostbacktest" />
    </div>
    </form>
</body>
</html>
